package com.pactera.controller;

import com.pactera.error.BizException;
import com.pactera.error.EmBizError;
import org.apache.commons.lang3.StringUtils;

public class BaseController {
    protected void checkParam(String param) throws BizException {
        if (StringUtils.isBlank(param)) {
            throw new BizException(EmBizError.PARAMETER_VALIDATION_ERROR);
        }
    }
}
